package com.bidevalution.business.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bidevalution.business.service.BeMethodStepJobService;
import com.bidevalution.dao.entity.BeMethodStepJob;
import com.bidevalution.dao.mapper.BeMethodStepJobMapper;
@Service
public class BeMethodStepJobServiceImpl implements BeMethodStepJobService{
	@Autowired
	private BeMethodStepJobMapper beMethodStepJobMapper;
	@Override
	public void insert(BeMethodStepJob beMethodStepJob) {
		beMethodStepJobMapper.insert(beMethodStepJob);
	}

	@Override
	public void update(BeMethodStepJob beMethodStepJob) {
		beMethodStepJobMapper.updateByPrimaryKey(beMethodStepJob);
	}

	@Override
	public void deleteById(String seqId) {
		beMethodStepJobMapper.deleteByPrimaryKey(seqId);
	}

	@Override
	public BeMethodStepJob selectById(String seqId) {
		// TODO Auto-generated method stub
		return beMethodStepJobMapper.selectByPrimaryKey(seqId);
	}

	@Override
	public List<BeMethodStepJob> selectList(String stepId) {
		// TODO Auto-generated method stub
		return beMethodStepJobMapper.selectListByStepId(stepId);
	}

}
